package com.yanqu.road.entity.activity.rankunionwar.data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class CrossRankUnionWarMemberData {

    private long serverId;

    private long userId;

    //是不是退出商会了
    private boolean isQuit;

    private int position;

    //捐献了多少次
    private int donateNum;

    //门客累计击杀了多少次了
    private int killNum;

    //李刚门客技能有加全体派遣门客的赚速
    private int patronsSkillAdd;

    //已经从区服拉过门客了
    private List<Integer> isGetPatronsMap = new ArrayList<>();

    //轮次 门客id
    private Map<Integer,Map<Integer,CrossRankUnionWarPatronData>> patronDataMap = new ConcurrentHashMap<>();

    //门客他上了哪一轮
    private Map<Integer,Integer> patronBattleTurnMap = new ConcurrentHashMap<>();

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public boolean isQuit() {
        return isQuit;
    }

    public void setQuit(boolean quit) {
        isQuit = quit;
    }

    public Map<Integer, CrossRankUnionWarPatronData> getPatronDataMap(int turn) {
        return patronDataMap.get(turn);
    }

    public void setPatronDataMap(int turn,Map<Integer, CrossRankUnionWarPatronData> patronDataMap) {
        this.patronDataMap.put(turn,patronDataMap);
    }

    public int getDonateNum() {
        return donateNum;
    }

    public void setDonateNum(int donateNum) {
        this.donateNum = donateNum;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getKillNum() {
        return killNum;
    }

    public void setKillNum(int killNum) {
        this.killNum = killNum;
    }

    public void addKillNum(int killNum) {
        this.killNum = this.killNum + killNum;
    }

    public Map<Integer, Map<Integer, CrossRankUnionWarPatronData>> getPatronDataMap() {
        return patronDataMap;
    }

    public void setPatronDataMap(Map<Integer, Map<Integer, CrossRankUnionWarPatronData>> patronDataMap) {
        this.patronDataMap = patronDataMap;
    }

    public List<Integer> getIsGetPatronsMap() {
        return isGetPatronsMap;
    }

    public void setIsGetPatronsMap(List<Integer> isGetPatronsMap) {
        this.isGetPatronsMap = isGetPatronsMap;
    }

    public Map<Integer, Integer> getPatronBattleTurnMap() {
        return patronBattleTurnMap;
    }

    public void setPatronBattleTurnMap(Map<Integer, Integer> patronBattleTurnMap) {
        this.patronBattleTurnMap = patronBattleTurnMap;
    }

    public int getPatronsSkillAdd() {
        return patronsSkillAdd;
    }

    public void setPatronsSkillAdd(int patronsSkillAdd) {
        this.patronsSkillAdd = patronsSkillAdd;
    }
}
